package com.yxq.mdt.app.modules.socialcontact.presenter;

import com.yxq.mdt.app.base.ibase.IBaseContract;
import com.yxq.mdt.app.modules.personal.bean.MainPersonalStateBean;
import com.yxq.mdt.app.modules.socialcontact.bean.BrowseListBean;
import com.yxq.mdt.app.modules.socialcontact.bean.GroupTopicListBean;
import com.yxq.mdt.app.modules.socialcontact.bean.SocialStateGiveListLikeBean;

public interface MainSocialPageInfoContract extends IBaseContract {
    interface View extends IBaseView {
        void onLoadPageInfoSuccess(MainPersonalStateBean mainPersonalStateBean);

        void onLoadPageInfoFailed();

        void onLoadTopicByIdSuccess(GroupTopicListBean groupTopicListBean);

        void onLoadTopicByIdFailed();

        void onLoadGiveFailed();

        void onLoadGiveSuccess(SocialStateGiveListLikeBean socialStateGiveListLikeBean);

        void onLoadBrowseListFailed();

        void onLoadBrowseListSuccess(BrowseListBean socialStateGiveListLikeBean);

        void onLoadTopicFavorSuccess(String s);

        void onLoadTopicFavorFailed();
    }

    interface Presenter extends IBasePresenter {
        void getPageInfoList(String pageNum, String pageSize, String topicId);

        void getTopicById(String id);

        void setTopicFavour(String topicId, String type);

        void getGiveList(String topicId, String pageSize, String pageNum);

        void getBrowseListList(String id, String pageSize, String pageNum);
    }
}
